package com.worldcup.model.dto.question;

import com.worldcup.model.question.QuestionOption;
import lombok.Data;

import java.io.Serializable;

/**
 * @author duwan.zq
 * @date 2019/03/05
 */
@Data
public class QuestionOptionDTO implements Serializable{

    private String optionNo;

    private String optionContent;

    private Integer optionScore;

    public QuestionOptionDTO(QuestionOption option){
        this.optionNo = option.getOptionNo();
        this.optionContent = option.getOptionContent();
        this.optionScore = option.getOptionScore();
    }

}
